<template>
  <el-config-provider :locale="language">
    <router-view />
  </el-config-provider>
</template>

<script setup>
import { messages, lang } from '~locales'

const language = computed(() => {
  return messages[lang]
})

</script>

<style lang="scss" scoped>
@media (width <= 768px) {
  :deep(.el-dialog) {
    width: 100% !important;
  }
}
</style>
